package com.quick.develop.flowable.domain.task;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import java.util.Date;
/**
 * @description
 * @author junyuan.liu
 * @date 2022/6/17 15:47
 */

@ApiModel("管理后台 - 流程任务的 Done 已完成的分页项 Response VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@AllArgsConstructor
@NoArgsConstructor
public class BpmTaskDonePageItemRespVO extends BpmTaskTodoPageItemRespVO {

    private static final long serialVersionUID = 5520818067468925092L;

    @ApiModelProperty(value = "任务结束时间")
    private Date taskEndTime;

    @ApiModelProperty(value = "流程结束结束时间")
    private Date processEndTime;

    @ApiModelProperty(value = "任务持续时间",  example = "1000")
    private Long taskDurationInMillis;

    @ApiModelProperty(value = "流程持续时间",  example = "1000")
    private Long processDurationInMillis;

    @ApiModelProperty(value = "任务结果",  notes = "参见 bpm_task_btn")
    private String result;

    @ApiModelProperty(value = "审批建议",  example = "不请假了！")
    private String comment;

    private Boolean multiTask;

    @ApiModelProperty(value = "编码")
    private String formKey;

}
